package com.exam.entity;


import java.util.Date;
import java.sql.Timestamp;
public class Questionnaire {

    //问卷id，
    private String id;

    private String questionName;//问卷名字

    private Timestamp startTime;//开始时间？

    private String questionStop;//问卷状态，0为题库+1为优质问卷+2为发布问卷+3为垃圾桶中的问卷

    private Timestamp answerTime;

    private int answerTotal;//答题次数

    private String questionContent;//题目内容

    private String questionTitle;//题目名

    private String lastModifier;//最后修改人

    private String groupId;//关联群组

    private int status;//问卷状态，0面向公众+1面向群组

//    private String answerTimeString;

    public Questionnaire() {

    }

    public Questionnaire(String id, String questionName, Timestamp startTime, String questionStop,
                         int answerTotal, String questionContent, String questionTitle, String lastModifier,
                         String groupId, int status) {
        this.id = id;
        this.questionName = questionName;
        this.startTime = startTime;
        this.questionStop = questionStop;
        this.answerTotal = answerTotal;
        this.questionContent = questionContent;
        this.questionTitle = questionTitle;
        this.lastModifier = lastModifier;
        this.groupId = groupId;
        this.status = status;
    }


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getQuestionName() {
        return questionName;
    }

    public void setQuestionName(String questionName) {
        this.questionName = questionName;
    }

    public Timestamp getStartTime() {
        return startTime;
    }

    public void setStartTime(Timestamp startTime) {
        this.startTime = startTime;
    }

    public String getQuestionStop() {
        return questionStop;
    }

    public void setQuestionStop(String questionStop) {
        this.questionStop = questionStop;
    }

    public Timestamp getAnswerTime() {
        return answerTime;
    }

    public void setAnswerTime(Timestamp answerTime) {
        this.answerTime = answerTime;
    }

    public int getAnswerTotal() {
        return answerTotal;
    }

    public void setAnswerTotal(int answerTotal) {
        this.answerTotal = answerTotal;
    }

    public String getQuestionContent() {
        return questionContent;
    }

    public void setQuestionContent(String questionContent) {
        this.questionContent = questionContent;
    }

    public String getQuestionTitle() {
        return questionTitle;
    }

    public void setQuestionTitle(String questionTitle) {
        this.questionTitle = questionTitle;
    }

    public String getLastModifier() {
        return lastModifier;
    }

    public void setLastModifier(String lastModifier) {
        this.lastModifier = lastModifier;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}

